<!DOCTYPE html>
<html lang="zh" dir="ltr" class="client-nojs">
<head>
<title>C++ 语言</title>
<meta charset="UTF-8">
<meta name="generator" content="MediaWiki 1.21.2">
<link rel="shortcut icon" href="../../common/favicon.ico">
<link rel="stylesheet" href="../../common/ext.css">
<meta name="ResourceLoaderDynamicStyles" content="">
<link rel="stylesheet" href="../../common/site_modules.css">
<style>a:lang(ar),a:lang(ckb),a:lang(fa),a:lang(kk-arab),a:lang(mzn),a:lang(ps),a:lang(ur){text-decoration:none}#toc{display:none}.editsection{display:none}
/* cache key: mwiki1-mwiki_zh_:resourceloader:filter:minify-css:7:15cea3ec788a65b5187d4018eed543bf */</style>

<script src="../../common/startup_scripts.js"></script>
<script>if(window.mw){
mw.config.set({"wgCanonicalNamespace":"","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":0,"wgPageName":"cpp/language","wgTitle":"cpp/language","wgCurRevisionId":65087,"wgArticleId":2676,"wgIsArticle":true,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":[],"wgBreakFrames":false,"wgPageContentLanguage":"zh","wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"zh","wgMonthNames":["","1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],"wgMonthNamesShort":["","1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],"wgRelevantPageName":"cpp/language","wgUserVariant":"zh","wgRestrictionEdit":[],"wgRestrictionMove":[]});
}</script><script>if(window.mw){
mw.loader.implement("user.options",function(){mw.user.options.set({"ccmeonemails":0,"cols":80,"date":"default","diffonly":0,"disablemail":0,"disablesuggest":0,"editfont":"default","editondblclick":0,"editsection":0,"editsectiononrightclick":0,"enotifminoredits":0,"enotifrevealaddr":0,"enotifusertalkpages":1,"enotifwatchlistpages":0,"extendwatchlist":0,"externaldiff":0,"externaleditor":0,"fancysig":0,"forceeditsummary":0,"gender":"unknown","hideminor":0,"hidepatrolled":0,"imagesize":2,"justify":0,"math":1,"minordefault":0,"newpageshidepatrolled":0,"nocache":0,"noconvertlink":0,"norollbackdiff":0,"numberheadings":0,"previewonfirst":0,"previewontop":1,"quickbar":5,"rcdays":7,"rclimit":50,"rememberpassword":0,"rows":25,"searchlimit":20,"showhiddencats":0,"showjumplinks":1,"shownumberswatching":1,"showtoc":0,"showtoolbar":1,"skin":"cppreference2","stubthreshold":0,"thumbsize":2,"underline":2,"uselivepreview":0,"usenewrc":0,"watchcreations":0,"watchdefault":0,"watchdeletion":0,
"watchlistdays":3,"watchlisthideanons":0,"watchlisthidebots":0,"watchlisthideliu":0,"watchlisthideminor":0,"watchlisthideown":0,"watchlisthidepatrolled":0,"watchmoves":0,"wllimit":250,"variant":"zh","language":"zh","searchNs0":true,"searchNs1":false,"searchNs2":false,"searchNs3":false,"searchNs4":false,"searchNs5":false,"searchNs6":false,"searchNs7":false,"searchNs8":false,"searchNs9":false,"searchNs10":false,"searchNs11":false,"searchNs12":false,"searchNs13":false,"searchNs14":false,"searchNs15":false,"gadget-MathJax":1,"gadget-ColiruCompiler":1});;},{},{});mw.loader.implement("user.tokens",function(){mw.user.tokens.set({"editToken":"+\\","patrolToken":false,"watchToken":false});;},{},{});
/* cache key: mwiki1-mwiki_zh_:resourceloader:filter:minify-js:7:258d7cd6aa9aa67dee25e01fb6a9e505 */
}</script>
<script>if(window.mw){
mw.loader.load(["mediawiki.page.startup","mediawiki.legacy.wikibits","mediawiki.legacy.ajax"]);
}</script>
<!--[if lt IE 7]><style type="text/css">body{behavior:url("/mwiki/skins/cppreference2/csshover.min.htc")}</style><![endif]--></head>
<body class="mediawiki ltr sitedir-ltr ns-0 ns-subject page-cpp_language skin-cppreference2 action-view cpp-navbar">
        <!-- header -->
        <!-- /header -->
        <!-- content -->
<div id="cpp-content-base">
            <div id="content">
                <a id="top"></a>
                <div id="mw-js-message" style="display:none;"></div>
                                <!-- firstHeading -->
<h1 id="firstHeading" class="firstHeading">C++ 语言</h1>
                <!-- /firstHeading -->
                <!-- bodyContent -->
                <div id="bodyContent">
                                        <!-- tagline -->
                    <div id="siteSub">来自cppreference.com</div>
                    <!-- /tagline -->
                                        <!-- subtitle -->
                    <div id="contentSub"><span class="subpages">&lt; <a href="../cpp.html" title="cpp">cpp</a></span></div>
                    <!-- /subtitle -->
                                                            <!-- bodycontent -->
                    <div id="mw-content-text" lang="zh" dir="ltr" class="mw-content-ltr"><div class="t-navbar" style=""><div class="t-navbar-sep"> </div><div class="t-navbar-head"><a href="../cpp.html" title="cpp"> C++</a><div class="t-navbar-menu"><div><div><table class="t-nv-begin" cellpadding="0" style="line-height:1.1em;">
<tr class="t-nv"><td colspan="5"> <strong class="selflink">语言</strong> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="header.html" title="cpp/header">标准库头文件</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="freestanding.html" title="cpp/freestanding"> 自立与有宿主实现</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="named_req.html" title="cpp/named req">具名要求</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="utility.html#.E8.AF.AD.E8.A8.80.E6.94.AF.E6.8C.81" title="cpp/utility">语言支持库</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="concepts.html" title="cpp/concepts">概念库</a> <span class="t-mark-rev t-since-cxx20">(C++20)</span> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="error.html" title="cpp/error">诊断库</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="utility.html" title="cpp/utility">工具库</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="string.html" title="cpp/string">字符串库</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="https://zh.cppreference.com/w/cpp/container" title="cpp/container">容器库</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="iterator.html" title="cpp/iterator">迭代器库</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="ranges.html" title="cpp/ranges"> 范围库</a> <span class="t-mark-rev t-since-cxx20">(C++20)</span> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="algorithm.html" title="cpp/algorithm">算法库</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="numeric.html" title="cpp/numeric">数值库</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="io.html" title="cpp/io">输入/输出库</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="locale.html" title="cpp/locale">本地化库</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="regex.html" title="cpp/regex">正则表达式库</a> <span class="t-mark-rev t-since-cxx11">(C++11)</span> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="atomic.html" title="cpp/atomic">原子操作库</a> <span class="t-mark-rev t-since-cxx11">(C++11)</span> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="thread.html" title="cpp/thread">线程支持库</a> <span class="t-mark-rev t-since-cxx11">(C++11)</span> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="filesystem.html" title="cpp/filesystem">文件系统库</a> <span class="t-mark-rev t-since-cxx17">(C++17)</span> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="experimental.html" title="cpp/experimental">技术规范</a> </td></tr>
</table></div><div></div></div></div></div><div class="t-navbar-sep"> </div><div class="t-navbar-head"><strong class="selflink">C++ 语言</strong><div class="t-navbar-menu"><div><div style="display:inline-block">
<div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv-h1"><td colspan="5"> 一般主题</td></tr>
<tr class="t-nv-col-table"><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="preprocessor.html" title="cpp/preprocessor"> 预处理器</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="comments.html" title="cpp/comment"> 注释</a></td></tr>
</table></div></td><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="keywords.html" title="cpp/keyword"> 关键词</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/escape.html" title="cpp/language/escape"> 转义序列</a></td></tr>
</table></div></td></tr>
<tr class="t-nv-h1"><td colspan="5"> 流程控制</td></tr>
<tr class="t-nv-h2"><td colspan="5"> 条件执行语句</td></tr>
<tr class="t-nv-col-table"><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="language/if.html" title="cpp/language/if"> <code>if</code></a></td></tr>
</table></div></td><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="language/switch.html" title="cpp/language/switch"> <code>switch</code></a></td></tr>
</table></div></td></tr>
<tr class="t-nv-h2"><td colspan="5"> 重复语句（循环）</td></tr>
<tr class="t-nv-col-table"><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="language/for.html" title="cpp/language/for"> <code>for</code></a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/range-for.html" title="cpp/language/range-for"> 范围 <code>for</code></a> <span class="t-mark-rev t-since-cxx11">(C++11)</span></td></tr>
</table></div></td><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="language/while.html" title="cpp/language/while"> <code>while</code></a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/do.html" title="cpp/language/do"> <code>do-while</code></a></td></tr>
</table></div></td></tr>
<tr class="t-nv-h2"><td colspan="5"> 跳转语句 </td></tr>
<tr class="t-nv-col-table"><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="language/continue.html" title="cpp/language/continue"> <code>continue</code></a> - <a href="language/break.html" title="cpp/language/break"> <code>break</code></a></td></tr>
</table></div></td><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="language/goto.html" title="cpp/language/goto"> <code>goto</code></a> - <a href="language/return.html" title="cpp/language/return"> <code>return</code></a></td></tr>
</table></div></td></tr>
<tr class="t-nv-h1"><td colspan="5"> 函数</td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/function.html" title="cpp/language/function"> 函数声明</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/lambda.html" title="cpp/language/lambda"> Lambda 函数声明</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/inline.html" title="cpp/language/inline"> <code>inline</code> 说明符</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/except_spec.html" title="cpp/language/except spec"> 异常规定</a> <span class="t-mark-rev t-until-cxx20">(C++20 前)</span></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/noexcept_spec.html" title="cpp/language/noexcept spec"> <code>noexcept</code> 说明符</a> <span class="t-mark-rev t-since-cxx11">(C++11)</span></td></tr>
<tr class="t-nv-h1"><td colspan="5"> 异常</td></tr>
<tr class="t-nv-col-table"><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="language/throw.html" title="cpp/language/throw"> <code>throw</code> 表达式</a></td></tr>
</table></div></td><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="language/try_catch.html" title="cpp/language/try catch"> <code>try</code>-<code>catch</code> 块</a></td></tr>
</table></div></td></tr>
<tr class="t-nv-h1"><td colspan="5"> 命名空间</td></tr>
<tr class="t-nv-col-table"><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="language/namespace.html" title="cpp/language/namespace"> 命名空间声明</a></td></tr>
</table></div></td><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="language/namespace_alias.html" title="cpp/language/namespace alias"> 命名空间别名</a></td></tr>
</table></div></td></tr>
<tr class="t-nv-h1"><td colspan="5"> 类型</td></tr>
<tr class="t-nv-col-table"><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="language/types.html" title="cpp/language/types"> 基础类型</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/enum.html" title="cpp/language/enum"> 枚举类型</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/function.html" title="cpp/language/function"> 函数类型</a></td></tr>
</table></div></td><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="language/class.html" title="cpp/language/class"> 复合类型</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/union.html" title="cpp/language/union"> 联合体类型</a></td></tr>
</table></div></td></tr>
<tr class="t-nv-h2"><td colspan="5"> 说明符</td></tr>
<tr class="t-nv-col-table"><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="language/decltype.html" title="cpp/language/decltype"> <code>decltype</code></a> <span class="t-mark-rev t-since-cxx11">(C++11)</span></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/auto.html" title="cpp/language/auto"> <code>auto</code></a> <span class="t-mark-rev t-since-cxx11">(C++11)</span></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/alignas.html" title="cpp/language/alignas"> <code>alignas</code></a> <span class="t-mark-rev t-since-cxx11">(C++11)</span></td></tr>
</table></div></td><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="language/cv.html" title="cpp/language/cv"> <code>const</code>/<code>volatile</code></a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/constexpr.html" title="cpp/language/constexpr"> <code>constexpr</code></a> <span class="t-mark-rev t-since-cxx11">(C++11)</span></td></tr>
</table></div></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/storage_duration.html" title="cpp/language/storage duration"> 存储期说明符</a></td></tr>
<tr class="t-nv-h2"><td colspan="5"> 初始化</td></tr>
<tr class="t-nv-col-table"><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="language/default_initialization.html" title="cpp/language/default initialization"> 默认初始化</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/value_initialization.html" title="cpp/language/value initialization"> 值初始化</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/zero_initialization.html" title="cpp/language/zero initialization"> 零初始化</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/copy_initialization.html" title="cpp/language/copy initialization"> 复制初始化</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/direct_initialization.html" title="cpp/language/direct initialization"> 直接初始化</a></td></tr>
</table></div></td><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="language/aggregate_initialization.html" title="cpp/language/aggregate initialization"> 聚合初始化</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/list_initialization.html" title="cpp/language/list initialization"> 列表初始化</a> <span class="t-mark-rev t-since-cxx11">(C++11)</span></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/constant_initialization.html" title="cpp/language/constant initialization"> 常量初始化</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/reference_initialization.html" title="cpp/language/reference initialization"> 引用初始化</a></td></tr>
</table></div></td></tr>
</table></div>
</div>
<div style="display:inline-block">
<div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv-h1"><td colspan="5"> 表达式</td></tr>
<tr class="t-nv-col-table"><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="language/value_category.html" title="cpp/language/value category"> 值类别</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/eval_order.html" title="cpp/language/eval order"> 求值顺序</a></td></tr>
</table></div></td><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="language/operators.html" title="cpp/language/operators"> 运算符</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/operator_precedence.html" title="cpp/language/operator precedence"> 运算符优先级</a></td></tr>
</table></div></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/operator_alternative.html" title="cpp/language/operator alternative"> 替代表示</a></td></tr>
<tr class="t-nv-h2"><td colspan="5"> 字面量</td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/bool_literal.html" title="cpp/language/bool literal"> 布尔</a> - <a href="language/integer_literal.html" title="cpp/language/integer literal"> 整数</a> - <a href="language/floating_literal.html" title="cpp/language/floating literal"> 浮点</a></td></tr>   
<tr class="t-nv"><td colspan="5"> <a href="language/character_literal.html" title="cpp/language/character literal"> 字符</a> - <a href="language/string_literal.html" title="cpp/language/string literal"> 字符串</a> - <a href="language/nullptr.html" title="cpp/language/nullptr"> <code>nullptr</code></a> <span class="t-mark-rev t-since-cxx11">(C++11)</span></td></tr> 
<tr class="t-nv"><td colspan="5"> <a href="language/user_literal.html" title="cpp/language/user literal"> 用户定义</a> <span class="t-mark-rev t-since-cxx11">(C++11)</span></td></tr>
<tr class="t-nv-h1"><td colspan="5"> 工具</td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/attributes.html" title="cpp/language/attributes"> 属性</a> <span class="t-mark-rev t-since-cxx11">(C++11)</span></td></tr>
<tr class="t-nv-h2"><td colspan="5"> 类型</td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/typedef.html" title="cpp/language/typedef"> <code>typedef</code> 声明</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/type_alias.html" title="cpp/language/type alias"> 类型别名声明</a> <span class="t-mark-rev t-since-cxx11">(C++11)</span></td></tr>
<tr class="t-nv-h2"><td colspan="5"> 类型转换</td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/implicit_cast.html" title="cpp/language/implicit conversion"> 隐式转换</a> - <a href="language/explicit_cast.html" title="cpp/language/explicit cast"> 显式转换</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/static_cast.html" title="cpp/language/static cast"> <code>static_cast</code></a> - <a href="language/dynamic_cast.html" title="cpp/language/dynamic cast"> <code>dynamic_cast</code></a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/const_cast.html" title="cpp/language/const cast"> <code>const_cast</code></a> - <a href="language/reinterpret_cast.html" title="cpp/language/reinterpret cast"> <code>reinterpret_cast</code></a></td></tr>
<tr class="t-nv-h2"><td colspan="5"> 内存分配</td></tr>
<tr class="t-nv-col-table"><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="language/new.html" title="cpp/language/new"> <code>new</code> 表达式</a></td></tr>
</table></div></td><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="language/delete.html" title="cpp/language/delete"> <code>delete</code> 表达式</a></td></tr>
</table></div></td></tr>
<tr class="t-nv-h1"><td colspan="5"> 类</td></tr>
<tr class="t-nv-col-table"><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="language/class.html" title="cpp/language/class"> 类声明</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/constructor.html" title="cpp/language/initializer list"> 初始化器列表</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/this.html" title="cpp/language/this"> <code>this</code> 指针</a></td></tr>
</table></div></td><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="language/access.html" title="cpp/language/access"> 访问说明符</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/friend.html" title="cpp/language/friend"> <code>friend</code> 说明符</a></td></tr>
</table></div></td></tr>
<tr class="t-nv-h2"><td colspan="5"> 特定于类的函数性质</td></tr>
<tr class="t-nv-col-table"><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="language/virtual.html" title="cpp/language/virtual"> 虚函数</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/override.html" title="cpp/language/override"> <code>override</code> 指定符</a>  <span class="t-mark-rev t-since-cxx11">(C++11)</span></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/final.html" title="cpp/language/final"> <code>final</code> 说明符</a>  <span class="t-mark-rev t-since-cxx11">(C++11)</span></td></tr>
</table></div></td><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="language/explicit.html" title="cpp/language/explicit"> <code>explicit</code></a>  <span class="t-mark-rev t-since-cxx11">(C++11)</span></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/static.html" title="cpp/language/static"> <code>static</code></a> </td></tr>
</table></div></td></tr>
<tr class="t-nv-h2"><td colspan="5"> 特殊成员函数</td></tr>
<tr class="t-nv-col-table"><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="language/default_constructor.html" title="cpp/language/default constructor"> 默认构造函数</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/copy_constructor.html" title="cpp/language/copy constructor"> 复制构造函数</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/move_constructor.html" title="cpp/language/move constructor"> 移动构造函数</a> <span class="t-mark-rev t-since-cxx11">(C++11)</span></td></tr>
</table></div></td><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="language/copy_assignment.html" title="cpp/language/copy assignment"> 复制赋值</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/move_assignment.html" title="cpp/language/move assignment"> 移动赋值</a> <span class="t-mark-rev t-since-cxx11">(C++11)</span></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/destructor.html" title="cpp/language/destructor"> 析构函数</a></td></tr>
</table></div></td></tr>
<tr class="t-nv-h1"><td colspan="5"> 模板</td></tr>
<tr class="t-nv-col-table"><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="language/class_template.html" title="cpp/language/class template"> 类模板</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="language/function_template.html" title="cpp/language/function template"> 函数模板</a></td></tr>
</table></div></td><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="language/template_specialization.html" title="cpp/language/template specialization"> 模板特化</a></td></tr>   
<tr class="t-nv"><td colspan="5"> <a href="language/parameter_pack.html" title="cpp/language/parameter pack"> 参数包</a> <span class="t-mark-rev t-since-cxx11">(C++11)</span></td></tr>
</table></div></td></tr>
<tr class="t-nv-h1"><td colspan="5"> 杂项</td></tr>
<tr class="t-nv-col-table"><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="language/asm.html" title="cpp/language/asm"> 内联汇编</a></td></tr>
</table></div></td><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="language/history.html" title="cpp/language/history"> C++ 的历史</a></td></tr>
</table></div></td></tr>
</table></div>
</div><div></div></div></div></div><div class="t-navbar-sep"> </div></div>
<p>这是一份核心 C++ 语言构造的参考手册。
</p>
<table cellpadding="5">

<tr valign="top">
<td>
<p><b><a href="language/basic_concepts.html" title="cpp/language/basic concepts"> 基本概念</a></b>
</p>
<div class="mainpagediv">
<p><a href="comments.html" title="cpp/comment"> 注释</a><br>
<a href="language/ascii.html" title="cpp/language/ascii"> ASCII 码表</a><br>
<a href="language/name.html" title="cpp/language/identifiers"> 名字与标识符</a><br>
<a href="language/incomplete_type.html" title="cpp/language/type"> 类型</a> - 
<a href="language/types.html" title="cpp/language/types"> 基础类型</a><br>
<a href="language/object.html" title="cpp/language/object"> 对象</a> -
<a href="language/scope.html" title="cpp/language/scope"> 作用域</a> -
<a href="language/lifetime.html" title="cpp/language/lifetime"> 生存期</a><br>
<a href="language/definition.html" title="cpp/language/definition"> 定义与 ODR</a><br>
<a href="language/lookup.html" title="cpp/language/lookup"> 名字查找</a><br>
 <a href="language/qualified_lookup.html" title="cpp/language/qualified lookup"> 有限定 </a> - <a href="language/unqualified_lookup.html" title="cpp/language/unqualified lookup"> 无限定</a><br>
<a href="language/as_if.html" title="cpp/language/as if"> “如同”规则</a><br>
<a href="language/ub.html" title="cpp/language/ub"> 未定义行为</a><br>
<a href="language/memory_model.html" title="cpp/language/memory model"> 内存模型与数据竞争</a><br>
<a href="language/translation_phases.html" title="cpp/language/translation phases"> 翻译阶段</a><br>
<a href="language/main_function.html" title="cpp/language/main function"> <code>main()</code> 函数</a><br>
<a href="language/modules.html" title="cpp/language/modules"> 模块</a><span class="t-mark-rev t-since-cxx20">(C++20)</span><br>
</p>
</div>
<p><b><a href="keywords.html" title="cpp/keyword"> C++ 关键词</a></b>
</p>
<div class="mainpagediv">
</div>
<p><b><a href="preprocessor.html" title="cpp/preprocessor"> 预处理器</a></b>
</p>
<div class="mainpagediv">
<p><a href="preprocessor/conditional.html" title="cpp/preprocessor/conditional"> #if - #ifdef - #else - #endif</a><br>
<a href="preprocessor/replace.html" title="cpp/preprocessor/replace"> #define - # - ##</a> -
<a href="preprocessor/include.html" title="cpp/preprocessor/include"> #include</a><br>
<a href="preprocessor/error.html" title="cpp/preprocessor/error"> #error</a> -
<a href="preprocessor/impl.html" title="cpp/preprocessor/impl"> #pragma</a> -
<a href="preprocessor/line.html" title="cpp/preprocessor/line"> #line</a><br>
</p>
</div>
<p><b><a href="language/expressions.html" title="cpp/language/expressions"> 表达式</a></b>
</p>
<div class="mainpagediv">
<p><a href="language/value_category.html" title="cpp/language/value category"> 值类别</a><br>
<a href="language/eval_order.html" title="cpp/language/eval order"> 求值顺序与定序</a><br>
<a href="language/constant_expression.html" title="cpp/language/constant expression"> 常量表达式</a><br>
<a href="language/expressions.html#.E8.BF.90.E7.AE.97.E7.AC.A6" title="cpp/language/expressions"> 运算符 </a><br>
 <a href="language/operator_assignment.html" title="cpp/language/operator assignment"> 赋值 </a> -
<a href="language/operator_arithmetic.html" title="cpp/language/operator arithmetic"> 算术 </a><br>
 <a href="language/operator_incdec.html" title="cpp/language/operator incdec"> 自增与自减 </a><br>
 <a href="language/operator_logical.html" title="cpp/language/operator logical"> 逻辑 </a> -
<a href="language/operator_comparison.html" title="cpp/language/operator comparison"> 比较 </a><br>
 <a href="language/operator_member_access.html" title="cpp/language/operator member access"> 成员访问与间接 </a><br>
 <a href="language/operator_other.html" title="cpp/language/operator other"> 调用、逗号、三元 </a><br>
  <a href="language/sizeof.html" title="cpp/language/sizeof"><code>sizeof</code></a> - <a href="language/alignof.html" title="cpp/language/alignof"><code>alignof</code></a><span class="t-mark-rev t-since-cxx11">(C++11)</span><br>
  <a href="language/new.html" title="cpp/language/new"><code>new</code></a> - <a href="language/delete.html" title="cpp/language/delete"><code>delete</code></a> - <a href="language/typeid.html" title="cpp/language/typeid"><code>typeid</code></a><br>
<a href="language/operators.html" title="cpp/language/operators"> 运算符重载</a><br>
<a href="language/default_comparisons.html" title="cpp/language/default comparisons"> 默认比较</a><span class="t-mark-rev t-since-cxx20">(C++20)</span><br>
<a href="language/operator_precedence.html" title="cpp/language/operator precedence"> 运算符优先级</a><br>
<a href="language/expressions.html#.E8.BD.AC.E6.8D.A2" title="cpp/language/expressions"> 转换 </a><br>
 <a href="language/implicit_cast.html" title="cpp/language/implicit conversion"> 隐式 </a> -
<a href="language/explicit_cast.html" title="cpp/language/explicit cast"> 显式 </a> -
<a href="language/cast_operator.html" title="cpp/language/cast operator"> 用户定义 </a><br>
  <a href="language/static_cast.html" title="cpp/language/static cast"><code>static_cast</code></a> - <a href="language/dynamic_cast.html" title="cpp/language/dynamic cast"><code>dynamic_cast</code></a><br>
  <a href="language/const_cast.html" title="cpp/language/const cast"><code>const_cast</code></a> - <a href="language/reinterpret_cast.html" title="cpp/language/reinterpret cast"><code>reinterpret_cast</code></a><br>
<a href="language/expressions.html#.E5.AD.97.E9.9D.A2.E9.87.8F" title="cpp/language/expressions"> 字面量 </a><br>
 <a href="language/bool_literal.html" title="cpp/language/bool literal"> 布尔 </a> -
<a href="language/integer_literal.html" title="cpp/language/integer literal"> 整数 </a> -
<a href="language/floating_literal.html" title="cpp/language/floating literal"> 浮点 </a><br>
 <a href="language/character_literal.html" title="cpp/language/character literal"> 字符 </a> -
<a href="language/string_literal.html" title="cpp/language/string literal"> 字符串 </a><br>
  <a href="language/nullptr.html" title="cpp/language/nullptr"><code>nullptr</code></a><span class="t-mark-rev t-since-cxx11">(C++11)</span><br>
 <a href="language/user_literal.html" title="cpp/language/user literal"> 用户定义</a><span class="t-mark-rev t-since-cxx11">(C++11)</span><br>
</p>
</div>
</td>
<td>
<p><b><a href="language/declarations.html" title="cpp/language/declarations"> 声明</a></b>
</p>
<div class="mainpagediv">
<p><a href="language/namespace.html" title="cpp/language/namespace"> 命名空间声明</a><br>
<a href="language/namespace_alias.html" title="cpp/language/namespace alias"> 命名空间别名</a><br>
<a href="language/reference.html" title="cpp/language/reference"> 左值与右值引用</a><br>
<a href="language/pointer.html" title="cpp/language/pointer"> 指针</a> -
<a href="language/array.html" title="cpp/language/array"> 数组</a><br>
<a href="language/structured_binding.html" title="cpp/language/structured binding"> 结构化绑定</a><span class="t-mark-rev t-since-cxx17">(C++17)</span><br>
<a href="language/enum.html" title="cpp/language/enum"> 枚举与枚举项</a><br>
<a href="language/storage_duration.html" title="cpp/language/storage duration"> 存储期与连接</a><br>
<a href="language/language_linkage.html" title="cpp/language/language linkage"> 语言连接</a><br>
<a href="language/inline.html" title="cpp/language/inline"> <code>inline</code> 说明符</a><br>
<a href="language/asm.html" title="cpp/language/asm"> 内联汇编</a><br>
<a href="language/cv.html" title="cpp/language/cv"> <code>const</code>/<code>volatile</code></a><br>
<a href="language/constexpr.html" title="cpp/language/constexpr"><code>constexpr</code></a><span class="t-mark-rev t-since-cxx11">(C++11)</span><br>
<a href="language/consteval.html" title="cpp/language/consteval"><code>consteval</code></a><span class="t-mark-rev t-since-cxx20">(C++20)</span> - <a href="language/constinit.html" title="cpp/language/constinit"><code>constinit</code></a><span class="t-mark-rev t-since-cxx20">(C++20)</span><br>
<a href="language/decltype.html" title="cpp/language/decltype"><code>decltype</code></a><span class="t-mark-rev t-since-cxx11">(C++11)</span> - <a href="language/auto.html" title="cpp/language/auto"><code>auto</code></a><span class="t-mark-rev t-since-cxx11">(C++11)</span> <br>
<a href="language/alignas.html" title="cpp/language/alignas"><code>alignas</code></a><span class="t-mark-rev t-since-cxx11">(C++11)</span> <br>
<a href="language/typedef.html" title="cpp/language/typedef"><code>typedef</code></a> - <a href="language/type_alias.html" title="cpp/language/type alias"> 类型别名</a><span class="t-mark-rev t-since-cxx11">(C++11)</span><br>
<a href="language/elaborated_type_specifier.html" title="cpp/language/elaborated type specifier"> 详述类型说明符</a><br>
<a href="language/attributes.html" title="cpp/language/attributes"> 属性</a><span class="t-mark-rev t-since-cxx11">(C++11)</span><br>
<a href="language/static_assert.html" title="cpp/language/static assert"><code>static_assert</code></a><span class="t-mark-rev t-since-cxx11">(C++11)</span><br>
</p>
</div>
<p><b><a href="language/initialization.html" title="cpp/language/initialization"> 初始化</a></b>
</p>
<div class="mainpagediv">
<p><a href="language/default_initialization.html" title="cpp/language/default initialization"> 默认初始化</a><br>
<a href="language/value_initialization.html" title="cpp/language/value initialization"> 值初始化</a><span class="t-mark-rev t-since-cxx03">(C++03)</span><br>
<a href="language/copy_initialization.html" title="cpp/language/copy initialization"> 复制初始化</a><br>
<a href="language/direct_initialization.html" title="cpp/language/direct initialization"> 直接初始化</a><br>
<a href="language/aggregate_initialization.html" title="cpp/language/aggregate initialization"> 聚合初始化</a><br>
<a href="language/list_initialization.html" title="cpp/language/list initialization"> 列表初始化</a><span class="t-mark-rev t-since-cxx11">(C++11)</span><br>
<a href="language/reference_initialization.html" title="cpp/language/reference initialization"> 引用初始化</a><br>
<a href="language/initialization.html#.E9.9D.9E.E5.B1.80.E9.83.A8.E5.8F.98.E9.87.8F" title="cpp/language/initialization"> 静态非局部初始化</a><br>
 <a href="language/zero_initialization.html" title="cpp/language/zero initialization">零</a> - <a href="language/constant_initialization.html" title="cpp/language/constant initialization">常量</a><br>
<a href="language/initialization.html#.E9.9D.9E.E5.B1.80.E9.83.A8.E5.8F.98.E9.87.8F" title="cpp/language/initialization"> 动态非局部初始化</a><br>
 <a href="language/initialization.html#.E9.9D.9E.E5.B1.80.E9.83.A8.E5.8F.98.E9.87.8F" title="cpp/language/initialization">有序</a> - <a href="language/initialization.html#.E9.9D.9E.E5.B1.80.E9.83.A8.E5.8F.98.E9.87.8F" title="cpp/language/initialization">无序</a><br>
<a href="language/copy_elision.html" title="cpp/language/copy elision"> 复制消除</a><br>
</p>
</div>
<p><b><a href="language/functions.html" title="cpp/language/functions"> 函数</a></b>
</p>
<div class="mainpagediv">
<p><a href="language/function.html" title="cpp/language/function"> 函数声明</a><br>
<a href="language/default_arguments.html" title="cpp/language/default arguments"> 默认实参</a><br>
<a href="language/variadic_arguments.html" title="cpp/language/variadic arguments"> 变长实参</a><br>
<a href="language/lambda.html" title="cpp/language/lambda"> lambda 表达式</a><span class="t-mark-rev t-since-cxx11">(C++11)</span><br>
<a href="language/adl.html" title="cpp/language/adl"> 实参依赖查找</a><br>
<a href="language/overload_resolution.html" title="cpp/language/overload resolution"> 重载决议</a><br>
<a href="language/operators.html" title="cpp/language/operators"> 运算符重载</a><br>
<a href="language/overloaded_address.html" title="cpp/language/overloaded address"> 重载集的地址</a><br>
<a href="language/coroutines.html" title="cpp/language/coroutines"> 协程</a><span class="t-mark-rev t-since-cxx20">(C++20)</span><br>
</p>
</div>
<p><b><a href="language/statements.html" title="cpp/language/statements"> 语句</a></b>
</p>
<div class="mainpagediv">
<p><a href="language/if.html" title="cpp/language/if"><code>if</code></a> -
<a href="language/switch.html" title="cpp/language/switch"><code>switch</code></a><br>
<a href="language/for.html" title="cpp/language/for"><code>for</code></a> -
<a href="language/range-for.html" title="cpp/language/range-for"> 范围 <code>for</code></a><span class="t-mark-rev t-since-cxx11">(C++11)</span><br>
<a href="language/while.html" title="cpp/language/while"><code>while</code></a> - <a href="language/do.html" title="cpp/language/do"> <code>do</code>-<code>while</code></a><br>
<a href="language/continue.html" title="cpp/language/continue"><code>continue</code></a> -
<a href="language/break.html" title="cpp/language/break"><code>break</code></a> -
<a href="language/goto.html" title="cpp/language/goto"><code>goto</code></a> -
<a href="language/return.html" title="cpp/language/return"><code>return</code></a><br>
<a href="language/transactional_memory.html" title="cpp/language/transactional memory"> <code>synchronized</code> 与 <code>atomic</code></a><span class="t-mark-rev t-since-tm-ts t-mark-ts">(TM TS)</span><br>
</p>
</div>
</td>
<td>
<p><b><a href="language/classes.html" title="cpp/language/classes"> 类</a></b>
</p>
<div class="mainpagediv">
<p><a href="language/class.html" title="cpp/language/class"> 类类型</a> -
<a href="language/union.html" title="cpp/language/union"> 联合类型</a><br>
<a href="language/injected-class-name.html" title="cpp/language/injected-class-name"> 注入类名</a><br>
<a href="language/data_members.html" title="cpp/language/data members"> 数据成员</a> -
<a href="language/member_functions.html" title="cpp/language/member functions"> 成员函数</a><br>
<a href="language/static.html" title="cpp/language/static"> 静态成员</a> -
<a href="language/nested_classes.html" title="cpp/language/nested types"> 嵌套类</a><br>
<a href="language/derived_class.html" title="cpp/language/derived class"> 派生类</a> -
<a href="language/using_declaration.html" title="cpp/language/using declaration"> <code>using</code> 声明</a><br>
<a href="language/ebo.html" title="cpp/language/ebo"> 空基类优化</a><br>
<a href="language/virtual.html" title="cpp/language/virtual"> 虚函数</a> -
<a href="language/abstract_class.html" title="cpp/language/abstract class"> 抽象类</a><br>
<a href="language/override.html" title="cpp/language/override"><code>override</code></a><span class="t-mark-rev t-since-cxx11">(C++11)</span> - <a href="language/final.html" title="cpp/language/final"><code>final</code></a><span class="t-mark-rev t-since-cxx11">(C++11)</span><br>
<a href="language/access.html" title="cpp/language/access"> 成员访问</a> -
<a href="language/friend.html" title="cpp/language/friend"><code>friend</code></a> <br>
<a href="language/bit_field.html" title="cpp/language/bit field"> 位域</a> -
<a href="language/this.html" title="cpp/language/this"> <code>this</code> 指针</a> <br>
<a href="language/constructor.html" title="cpp/language/initializer list"> 构造函数与成员初始化器列表</a><br>
<a href="language/default_constructor.html" title="cpp/language/default constructor"> 默认构造函数</a> -
<a href="language/destructor.html" title="cpp/language/destructor"> 析构函数</a><br>
<a href="language/copy_constructor.html" title="cpp/language/copy constructor"> 复制构造函数</a> -
<a href="language/copy_assignment.html" title="cpp/language/copy assignment"> 复制赋值</a> <br>
<a href="language/move_constructor.html" title="cpp/language/move constructor"> 移动构造函数</a><span class="t-mark-rev t-since-cxx11">(C++11)</span><br>
<a href="language/move_assignment.html" title="cpp/language/move assignment"> 移动赋值</a><span class="t-mark-rev t-since-cxx11">(C++11)</span><br>
<a href="language/converting_constructor.html" title="cpp/language/converting constructor"> 转换构造函数</a> -
<a href="language/explicit.html" title="cpp/language/explicit"> <code>explicit</code> 说明符</a><br>
</p>
</div>
<p><b><a href="language/templates.html" title="cpp/language/templates"> 模板</a></b>
</p>
<div class="mainpagediv">
<p><a href="language/template_parameters.html" title="cpp/language/template parameters"> 模板形参与实参</a><br>
<a href="language/class_template.html" title="cpp/language/class template"> 类模板</a> -
<a href="language/function_template.html" title="cpp/language/function template"> 函数模板</a><br>
<a href="language/member_template.html" title="cpp/language/member template"> 类成员模板</a><br>
<a href="language/variable_template.html" title="cpp/language/variable template"> 变量模板</a><span class="t-mark-rev t-since-cxx14">(C++14)</span><br>
<a href="language/template_argument_deduction.html" title="cpp/language/template argument deduction"> 模板实参推导</a><br>
<a href="language/template_specialization.html" title="cpp/language/template specialization"> 显式特化</a><br>
<a href="language/class_template_argument_deduction.html" title="cpp/language/class template argument deduction"> 类模板实参推导</a><span class="t-mark-rev t-since-cxx17">(C++17)</span><br>
<a href="language/partial_specialization.html" title="cpp/language/partial specialization"> 部分特化</a><br>
<a href="language/parameter_pack.html" title="cpp/language/parameter pack"> 形参包</a><span class="t-mark-rev t-since-cxx11">(C++11)</span> -
<a href="language/sizeof....html" title="cpp/language/sizeof..."><code>sizeof...</code></a><span class="t-mark-rev t-since-cxx11">(C++11)</span><br>
<a href="language/fold.html" title="cpp/language/fold"> 折叠表达式</a><span class="t-mark-rev t-since-cxx17">(C++17)</span><br>
<a href="language/dependent_name.html" title="cpp/language/dependent name"> 待决名</a> -
<a href="language/sfinae.html" title="cpp/language/sfinae"> SFINAE</a><br>
<a href="language/constraints.html" title="cpp/language/constraints"> 制约与概念</a> <span class="t-mark-rev t-since-cxx20">(C++20)</span><br>
</p>
</div>
<p><b><a href="language/exceptions.html" title="cpp/language/exceptions"> 异常</a></b>
</p>
<div class="mainpagediv">
<p><a href="language/throw.html" title="cpp/language/throw"> <code>throw</code> 表达式</a><br>
<a href="language/try_catch.html" title="cpp/language/try catch"> <code>try</code>-<code>catch</code> 块</a><br>
<a href="language/function-try-block.html" title="cpp/language/function-try-block"> 函数 <code>try</code> 块</a><br>
<a href="language/noexcept_spec.html" title="cpp/language/noexcept spec"> <code>noexcept</code> 说明符</a><span class="t-mark-rev t-since-cxx11">(C++11)</span><br>
<a href="language/noexcept.html" title="cpp/language/noexcept"> <code>noexcept</code> 运算符</a><span class="t-mark-rev t-since-cxx11">(C++11)</span><br>
<a href="language/except_spec.html" title="cpp/language/except spec"> 动态异常说明</a><span class="t-mark-rev t-until-cxx17">(C++17 前)</span><br>
</p>
</div>
<p><b>杂项</b>
</p>
<div class="mainpagediv">
<p><a href="language/history.html" title="cpp/language/history"> C++ 的历史</a><br>
<a href="language/extending_std.html" title="cpp/language/extending std"> 扩充命名空间 std</a><br>
<a href="language/acronyms.html" title="cpp/language/acronyms"> 字母缩写</a>
</p>
</div>
<p><b>惯用手法</b>
</p>
<div class="mainpagediv">
<p><a href="language/raii.html" title="cpp/language/raii"> 资源获取即初始化</a><br>
<a href="language/rule_of_three.html" title="cpp/language/rule of three"> 三/五/零 法则</a><br>
<a href="language/pimpl.html" title="cpp/language/pimpl"> 指向实现的指针</a>
</p>
</div>
</td></tr></table>
<h3><span class="mw-headline" id=".E5.8F.82.E9.98.85">参阅</span></h3>
<table class="t-dsc-begin">

</table>

<!-- 
NewPP limit report
Preprocessor visited node count: 5016/1000000
Preprocessor generated node count: 10224/1000000
Post‐expand include size: 119286/2097152 bytes
Template argument size: 17634/2097152 bytes
Highest expansion depth: 15/40
Expensive parser function count: 0/100
-->

<!-- Saved in parser cache with key mwiki1-mwiki_zh_:pcache:idhash:2676-0!*!0!*!*!*!zh!* and timestamp 20200224173655 -->
</div>                    <!-- /bodycontent -->
                                        <!-- printfooter -->
                    <div class="printfooter">
                    来自“<a href="https://zh.cppreference.com/mwiki/index.php?title=cpp/language&amp;oldid=65087">https://zh.cppreference.com/mwiki/index.php?title=cpp/language&amp;oldid=65087</a>”                    </div>
                    <!-- /printfooter -->
                                                            <!-- catlinks -->
                    <!-- /catlinks -->
                                                            <div class="visualClear"></div>
                    <!-- debughtml -->
                                        <!-- /debughtml -->
                </div>
                <!-- /bodyContent -->
            </div>
        </div>
        <!-- /content -->
        <!-- footer -->
        <div id="cpp-footer-base" class="noprint">
            <div id="footer">
                        <div id="cpp-navigation">
            <h5>导航</h5>
            <ul><li><a href="https://zh.cppreference.com/w/cpp/language">Online version</a></li><li>Offline version retrieved 2020-03-14 18:00.</li></ul></div>
                        <ul id="footer-info">
                                    <li id="footer-info-lastmod"> 本页面最后修改于2020年2月24日 (星期一) 09:36。</li>
                                    <li id="footer-info-viewcount">此页面已被浏览过138,186次。</li>
                            </ul>
                    </div>
        </div>
        <!-- /footer -->
        <script>if(window.mw){
mw.loader.state({"site":"loading","user":"missing","user.groups":"ready"});
}</script>
<script src="../../common/skin_scripts.js"></script>
<script>if(window.mw){
mw.loader.load(["mediawiki.action.view.postEdit","mediawiki.user","mediawiki.page.ready","mediawiki.searchSuggest","mediawiki.hidpi","ext.gadget.MathJax","ext.gadget.ColiruCompiler"], null, true);
}</script>
<script src="../../common/site_scripts.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-2828341-1']);
_gaq.push(['_setDomainName', 'cppreference.com']);
_gaq.push(['_trackPageview']);
</script><!-- Served in 0.074 secs. -->
	</body>
<!-- Cached 20200224180223 -->
</html>